<div class="page">
	<div class="page-header">
		<div class="pull-left">
			<i class="icon-awesome-user icon-large"></i>
			<span class="divider"></span>
			<div class="title">
				<h3><?php echo __('Minha Conta'); ?></h3>
				<small><?php echo ('Atualizar seus dados pessoais'); ?></small>
			</div>
		</div>
		<div class="pull-right">
			<?php echo $this->Html->link('<i class="icon-awesome-plus icon-white"></i>'.__('Novo'), array('action' => 'add'), array('escape' => false, 'class' => 'btn btn-primary btn-square', 'title' => 'Cadastrar Novo Usuário')); ?>
		</div>
	</div>
	<div class="page-content">
	<?php echo $this->Form->create('Usuario', array('class' => 'form-horizontal'));?>
		<?php echo $this->Form->input('id');?>
		<p class="required">Os campos com <em>*</em> são de preenchimento obrigatório</p>
		<div class="control-group required <?php echo ($this->Form->isFieldError('login')) ? 'error' : ''; ?>">
			<?php echo $this->Form->Label('login', 'Login:', array('class' => 'control-label'));	?>
			<div class="controls">
				<?php echo $this->Form->input('login', array('type' => 'text', 'label' => false, 'div' => false, 'required' => false, 'error' => array('attributes' => array('wrap' => 'span', 'class' => 'help-block'))));	?>
			</div>
		</div>
		<div class="control-group required <?php echo ($this->Form->isFieldError('password')) ? 'error' : ''; ?>">
			<?php echo $this->Form->Label('password', 'Senha:', array('class' => 'control-label'));	?>
			<div class="controls">
				<?php echo $this->Form->input('password', array('type' => 'password', 'label' => false, 'div' => false, 'required' => false, 'error' => array('attributes' => array('wrap' => 'span', 'class' => 'help-block'))));	?>
			</div>
		</div>
		<div class="control-group required <?php echo ($this->Form->isFieldError('perfil_id')) ? 'error' : ''; ?>">
			<?php echo $this->Form->Label('perfil_id', 'Perfil:', array('class' => 'control-label'));	?>
			<div class="controls">
				<?php echo $this->Form->input('perfil_id', array('label' => false, 'div' => false, 'required' => false, 'error' => array('attributes' => array('wrap' => 'span', 'class' => 'help-block'))));	?>
			</div>
		</div>
		<div class="control-group required <?php echo ($this->Form->isFieldError('nome')) ? 'error' : ''; ?>">
			<?php echo $this->Form->Label('nome', 'Nome:', array('class' => 'control-label'));	?>
			<div class="controls">
				<?php echo $this->Form->input('nome', array('type' => 'text', 'label' => false, 'div' => false, 'required' => false, 'error' => array('attributes' => array('wrap' => 'span', 'class' => 'help-block'))));	?>
			</div>
		</div>
		<div class="control-group required <?php echo ($this->Form->isFieldError('email')) ? 'error' : ''; ?>">
			<?php echo $this->Form->Label('email', 'E-mail:', array('class' => 'control-label'));	?>
			<div class="controls">
				<?php echo $this->Form->input('email', array('type' => 'text', 'label' => false, 'div' => false, 'required' => false, 'error' => array('attributes' => array('wrap' => 'span', 'class' => 'help-block'))));	?>
			</div>
		</div>
		<div class="control-group">
			<?php echo $this->Form->Label('telefone', 'Telefone:', array('class' => 'control-label'));	?>
			<div class="controls">
				<?php echo $this->Form->input('telefone', array('type' => 'text', 'label' => false, 'div' => false ));	?>
			</div>
		</div>
	<?php echo $this->Form->end();?>
	</div>
</div>